package 行为型模式.策略模式;
//促销员（环境类）
public class SaleMan {
    //聚合策略类对象
    private Strategy strategy;

    public SaleMan(Strategy strategy) {
        this.strategy = strategy;
    }

    //由促销员展示促销活动给用户
    public void salesManShow(){
        strategy.show();
    }
}
